<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>回款记录</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">

    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>

    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css" />
    <link rel="stylesheet" href="/css/input_tags.css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="/js/need/verfont.css" />
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>

    <link rel="stylesheet" href="/css/skin.css"/>
</head>
<body>
<div class="container-fluid p-t-15">
    <input class="form-control" type="hidden" id="qx" value="0">
    <div class="container-fluid p-t-15">
        <div class="row">
            <div class="col-sm-12">
                <div class="card">
                    <div class="card-header">
                        <h1>回款记录</h1>
                    </div>

                    <div class="card-body" >
                        <div class="row">
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label class="control-label" for="arriveTimeStart">到款起止时间</label>
                                <div class="form-content input-group">
                                    <input type="text" id="arriveTimeStart" class="form-control date-input"
                                           placeholder="请输入起始时间">
                                    <span class="input-group-addon">至</span>
                                    <input type="text" id="arriveTimeEnd" class="form-control date-input"
                                           placeholder="请输入截止时间">
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label class="control-label" for="arriveMoneyStart">到款金额起止区间</label>
                                <div class="form-content input-group">
                                    <input type="text" id="arriveMoneyStart" class="form-control"
                                           placeholder="请输入起始金额" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')">
                                    <span class="input-group-addon">至</span>
                                    <input type="text" id="arriveMoneyEnd" class="form-control"
                                           placeholder="请输入截止金额" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')">
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="vipType">会员类型</label>
                                <div>
                                    <select id="vipType" class="form-control" type="text" data-live-search="true">
                                        <option selected value="">全部</option>
                                        <option value="0">会员</option>
                                        <option value="1">非会员</option>
                                    </select>
                                </div>
                            </div>

                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12" id="compNamediv">
                                <label for="compName">所属分公司</label>
                                <div>
                                    <select id="compName" name="compName" class="form-control" data-live-search="true">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                            <div class="clearfix hidden-xs"></div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="salesmanName">业务员名称</label>
                                <div>
                                    <select id="salesmanName" name="salesmanName" class="form-control" data-live-search="true">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>

                        </div>
                    </div>

                    <div class="card-body">

                        <div class="row content-action">
                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                                <!-- 全部 本周 本月 本年 -->
                                <!--<div class="time-search pull-left">

                                </div>-->
                            </div>

                            <div class="col-lg-5 col-md-5 col-sm-5 col-xs-12">
                                <div class="min-search pull-right">
                                    <button class="btn btn-primary" type="button" onclick="searchReturnMoneyList(1)" style="margin-right: 120px;">
                                        <i class="mdi mdi-magnify"></i><span>搜索</span>
                                    </button>
                                </div>
                                <div class="pull-right">
                                    <button class="btn btn-default btn-senior" data-toggle="collapse"
                                            data-target="#filterContent" aria-expanded="false"
                                            aria-controls="filterContent">
                                        <i class="mdi mdi-sort-variant"></i>高级筛选
                                    </button>
                                </div>
                            </div>
                            <div class="col-lg-1 col-md-1 col-sm-1 col-xs-12">
                                <div class="pull-left">
                                    <div class="dropdown">
                                        <div class="row">
                                            <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu" data-toggle="dropdown" aria-expanded="true" style="margin-left: 0px;"> 更多列 <span class="caret"></span> </button>
                                            <ul class="dropdown-menu pre-scrollable" aria-labelledby="dropdownMenu1" style="margin-right: 300px;">
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('arriveTime',this)"/><span>到款时间</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('arriveMoney',this)"/><span>到款金额</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('arriveUnitName',this)"/><span>到款单位名称</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('arriveNum',this)"/><span>到款编号</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('arriveMethod',this)"/><span>到款方式</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('arriveIsAbolish',this)"/><span>到款是否作废</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('paymentUnitName',this)"/><span>付款单位</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('paymentAccount',this)"/><span>付款账号</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('contractStatus',this)"/><span>是否挂起</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('renewContractStartTime',this)"/><span>续费合同开始日期</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('scoreConvertRatio',this)"/><span>业绩换算比例</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('scoreMoney',this)"/><span>业绩金额</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('vipType',this)"/><span>会员类型</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('isRecordScore',this)"/><span>是否记录会员业绩</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('isBack',this)"/><span>是否退款</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('backDate',this)"/><span>退款日期</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('royaltyStatus',this)"/><span>提成方法状态</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('royaltyMoney',this)"/><span>提成金额</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('royaltyRecordTime',this)"/><span>提成录入时间</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('isAbolish',this)"/><span>是否作废</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('source',this)"/><span>来源渠道</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('contractId',this)"/><span>所属合同</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('customerName',this)"/><span>所属客户</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('orderId',this)"/><span>所属订单</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('salesmanName',this)"/><span>业务员名称</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('filialeName',this)"/><span>所属分公司</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('isCheck',this)"/><span>是否检验</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('remark',this)"/><span>备注</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('createByName',this)"/><span>创建人</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" checked onclick="hideOrShowTable('createTm',this)"/><span>创建时间</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('updateByName',this)"/><span>更新人</span></li>
                                                <li role="presentation"><input type="checkbox" class="check_box" onclick="hideOrShowTable('updateTm',this)"/><span>更新时间</span></li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="collapse filter-content" id="filterContent">
                            <div class="row">
                                <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                    <label for="customerName">客户名称</label>
                                    <div>
                                        <input class="form-control" type="text" placeholder="请输入客户名称"
                                               id="customerName" name="customerName">
                                    </div>
                                </div>
                                <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                    <label for="contractCode">合同编号</label>
                                    <div>
                                        <input class="form-control" type="text" placeholder="请输入合同编号"
                                               id="contractCode" name="contractCode">
                                    </div>
                                </div>
                                <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                    <label for="orderCode">订单编号</label>
                                    <div>
                                        <input class="form-control" type="text" placeholder="请输入订单编号"
                                               id="orderCode" name="orderCode">
                                    </div>
                                </div>
                                <!--<div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                    <label for="orderName">所属订单</label>
                                    <div>
                                        <input class="form-control" type="text" placeholder="请输入订单名称"
                                               id="orderName" name="orderName">
                                    </div>
                                </div>-->
                                <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                    <label for="createName">创建人</label>
                                    <div>
                                        <input class="form-control" type="text" placeholder="请输入用户名称"
                                               id="createName" name="createName">
                                    </div>
                                </div>
                                <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                    <label for="paymentAccount">付款账号</label>
                                    <div>
                                        <input class="form-control" type="text" placeholder="请输入付款账号"
                                               id="paymentAccount" name="paymentAccount">
                                    </div>
                                </div>
                                    <div class="form-group col-lg-12 col-md-4 col-sm-12 col-xs-12 btn-box">
                                        <label>&nbsp;</label>
                                        <div class="text-right">
                                            <button class="btn btn-primary" type="button" onclick="searchReturnMoneyList(2)">
                                                <i class="mdi mdi-magnify"></i><span>搜索</span></button>
                                            <button class="btn btn-default" onclick="clearAllData()">重置</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <table id="returnMoneyTableList"></table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

</body>

<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script src="/js/crm/common/input-tag.js"></script>
<script src="/js/crm/common/city.js"></script>
<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js"></script>
<!-- 拖动 -->
<script src="/js/bootstrap-table/extensions/resizable/bootstrap-table-resizable.min.js"></script>
<script src="/js/crm/common/colResizable-1.6.min.js"></script>

<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="/js/crm/common/dataRangePicker.min.js"></script>
<script src="/js/verSelect.2.0.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<script src="/js/crm/returnMoney/returnMoney.js"></script>
</html>